/*
 *    Copyright (c) 2020-2025, sunlei All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Author: sunlei (daizile@126.com)
 */
/*
{
    page:{
        current:1, //当前页数
        size:10   //每页长度
    },
    cond:{ //条件
        eq:{ // 多条件对象
                        id,//Integer
                        workId,//Integer 作品ID
                        state,//Integer 0:选手提出申诉 1:评分裁判给出评分理由 2 :裁判长裁决 3 审核
                        remark,//String 描述
                        judgeId,//Long 裁判 裁判长 学会管理员 ID
                        isDel,//Integer 0:正常 1：删除
                        content,//String 申诉内容
                        teamId,//Integer 队伍ID
                        teamName,//String 团队名称
                        createTime,//LocalDateTime 申诉时间
                        replyTime,//LocalDateTime 回复时间
                        matchId,//Integer 比赛ID
                        matchScheduleId,//Integer 赛程ID
                        matchScheduleName,//String 赛程名称
                    }
    }
}
 */
// 分页查询
function WorkAppealPageList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/workappeal/pagequery","post",query,SuccessFunc,FailedFunc);
}
// 列表查询
function WorkAppealqueryList(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/workappeal/queryList","post",query,SuccessFunc,FailedFunc);
}
// 插入数据
function WorkAppealaddObj(obj,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/workappeal/save", "post", obj,SuccessFunc,FailedFunc)
}
// 主键获取数据
function WorkAppealgetObj(id,SuccessFunc,FailedFunc){
    slAjax("/abkj-api-match-provider/workappeal/"+id,"get",{},SuccessFunc,FailedFunc);
}

/**
 * 主键更新
 */
function WorkAppealupdateById(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/workappeal/updateById","post",query,SuccessFunc,FailedFunc);
}
/**
 * 多条件 更新
 */
function WorkAppealupdateByMulCond(query,SuccessFunc,FailedFunc) {
   slAjax("/abkj-api-match-provider/workappeal/updateByMulCond","post",query,SuccessFunc,FailedFunc);
}
// 主键删除数据
function WorkAppealdelObj(id,SuccessFunc,FailedFunc) {
  slAjax("/abkj-api-match-provider/workappeal/delete/"+id,"get",{},SuccessFunc,FailedFunc);
}
function PublishAppeal(query,SuccessFunc,FailedFunc) {
    slAjax("/abkj-api-match-provider/matchExt/PublishAppeal","post",query,SuccessFunc,FailedFunc);
}
